package cc.sunwl.security.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

import cc.sunwl.security.entity.SysRole;
import cc.sunwl.security.entity.SysUser;

public interface RoleRepository extends JpaRepository<SysRole, Long>, JpaSpecificationExecutor<SysRole> {

	SysUser findByRoleName(String roleName);

}
